<body class="nobg loginPage">
<div class="topNav">
    <div class="wrapper">
        <div class="userNav">
            <ul>
                <li><a href="#" title=""><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/topnav/mainWebsite.png" alt="" /><span>浏览网站</span></a></li>
                <li><a href="#" title=""><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/topnav/profile.png" alt="" /><span>联系管理员</span></a></li>
                <li><a href="#" title=""><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/topnav/messages.png" alt="" /><span>技术支持</span></a></li>
                <li><a href="login.html" title=""><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/topnav/settings.png" alt="" /><span>设置</span></a></li>
            </ul>
        </div>
        <div class="clear"></div>
    </div>
</div>


<!-- Main content wrapper -->
<div class="loginWrapper">
    <div class="loginLogo"><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/loginLogo.png" alt="" /></div>
    <div class="widget">
        <div class="title"><img src="<?php echo Yii::app()->theme->baseUrl;?>/images/icons/dark/files.png" alt="" class="titleIcon" /><h6>后台登录面板</h6></div>
        <div id="validate" class="form">
        <?php echo CHtml::beginForm(Yii::app()->createUrl('login/login'));?>
            <fieldset>
                <div class="formRow">
                    <label for="login"><?php echo CHtml::activeLabel($aloginform, 'username');?></label>
                    <div class="loginInput">
                    	<?php echo CHtml::activeTextField($aloginform, 'username',array('class'=>'validate[required,minSize[5],maxSize[255]]','id'=>'login'));?>
                    	<?php echo CHtml::error($aloginform, 'username'); ?>
                    </div>
                    <div class="clear"></div>
                </div>
                
                <div class="formRow">
                    <label for="pass"><?php echo CHtml::activeLabel($aloginform, 'password');?></label>
                    <div class="loginInput">
                    	<?php echo CHtml::activePasswordField($aloginform, 'password',array('class'=>'validate[required,minSize[6],maxSize[255]]','id'=>'pass'));?>                	
                    	<?php echo CHtml::error($aloginform, 'password'); ?>
                    </div>
                    <div class="clear"></div>
                </div>
                
                <div class="loginControl">
                    <div class="rememberMe">
                    	<?php echo CHtml::activeCheckBox($aloginform, 'rememberMe',array('id'=>'remMe'));?>
                    	<label for="remMe"><?php echo CHtml::activeLabel($aloginform, 'rememberMe');?></label>
                    </div>
                    <?php echo CHtml::submitButton('登  录',array('class'=>'dredB logMeIn'))?>
                    <div class="clear"></div>
                </div>
            </fieldset>
            <?php echo CHtml::endForm();?>
        </div>
    </div>
</div>    